﻿using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CafeOnline.MvcFramework.Interfaces {
    public interface IActionVerb {
        string Name { get; }
        string Controler { get; }
        string Icon { get; }
        bool Visible { get; }
        string Action { get; }
        string CategoryName { get; }
    }

    [MetadataAttribute]
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
    public class VerbAttribute : ExportAttribute {
        public VerbAttribute()
            : base(typeof(IActionVerb)) {
        }
        public string Category {
            get;
            set;
        }

    }

    public interface VerbMetadata {
        string Category { get; set; }
    }
}
